Class Toolbar

Summary

Fully Qualified Name: CodeIgniter\Debug\Toolbar

Description

Debug Toolbar

Displays a toolbar with bits of stats to aid a developer in debugging.

Inspiration: http://prophiler.fabfuel.de

Methods

Name Description Defined By
__construct() Constructor Toolbar
prepare() Prepare for debugging. Toolbar
respond() Inject debug toolbar into the response. Toolbar
run() Returns all the data required by Debug Bar Toolbar

Method Details

__construct()

Constructor

Parameter Name Type Description
$config \BaseConfig

Returns:

prepare()

Prepare for debugging.

.

Parameter Name Type Description
$request \RequestInterface
$response \ResponseInterface

Returns: \type

respond()

Inject debug toolbar into the response.

Returns:

run()

Returns all the data required by Debug Bar

Parameter Name Type Description
$startTime float App
$totalTime float
$request \CodeIgniter\HTTP\RequestInterface
$response \CodeIgniter\HTTP\ResponseInterface

Returns: string JSON encoded data

Top